package com.siyougame.business.convert.user;

import java.util.*;

import com.siyougame.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.siyougame.business.controller.admin.user.vo.*;
import com.siyougame.business.dal.dataobject.user.WxUserDO;

/**
 * 微信用户 Convert
 *
 * @author ${table.author}
 */
@Mapper
public interface WxUserConvert {

    WxUserConvert INSTANCE = Mappers.getMapper(WxUserConvert.class);

    WxUserDO convert(WxUserCreateReqVO bean);

    WxUserDO convert(WxUserUpdateReqVO bean);

    WxUserRespVO convert(WxUserDO bean);

    List<WxUserRespVO> convertList(List<WxUserDO> list);

    PageResult<WxUserRespVO> convertPage(PageResult<WxUserDO> page);

    List<WxUserExcelVO> convertList02(List<WxUserDO> list);

}
